package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataEmpPerformanceDao;
import io.renren.entity.DataEmpPerformanceEntity;
import io.renren.service.DataEmpPerformanceService;



@Service("dataEmpPerformanceService")
public class DataEmpPerformanceServiceImpl implements DataEmpPerformanceService {
	@Autowired
	private DataEmpPerformanceDao dataEmpPerformanceDao;
	
	@Override
	public DataEmpPerformanceEntity queryObject(String workno){
		return dataEmpPerformanceDao.queryObject(workno);
	}
	
	@Override
	public List<DataEmpPerformanceEntity> queryList(Map<String, Object> map){
		return dataEmpPerformanceDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataEmpPerformanceDao.queryTotal(map);
	}
	
	@Override
	public void save(DataEmpPerformanceEntity dataEmpPerformance){
		dataEmpPerformanceDao.save(dataEmpPerformance);
	}
	
	@Override
	public void update(DataEmpPerformanceEntity dataEmpPerformance){
		dataEmpPerformanceDao.update(dataEmpPerformance);
	}
	
	@Override
	public void delete(String workno){
		dataEmpPerformanceDao.delete(workno);
	}
	
	@Override
	public void deleteBatch(String[] worknos){
		dataEmpPerformanceDao.deleteBatch(worknos);
	}

	@Override
	public void deleteAll() {
		dataEmpPerformanceDao.deleteAll();
		
	}
	
}
